<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <title></title>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body>
    <span class="layui-breadcrumb" >
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_la_01')?></cite></a>
        <a href="javascript:;"><?=L('tpl_la_02')?></a>
        <a href="<?=site_url('label')?>"><?=L('tpl_la_03')?></a>
    </span>
	<form class="layui-form" action="<?=site_url('label/del')?>" method="post">
        <table class="layui-table">
        	<thead>
        	<tr>
            <th><?=L('tpl_la_04')?></th>
            <th class="phide"><?=L('tpl_la_05')?></th>
            <th><?=L('tpl_la_06')?></th>
            <th class="phide"><?=L('tpl_la_07')?></th>
            <th class="phide"><?=L('tpl_la_08')?></th>
            <th><?=L('tpl_la_09')?></th>
            </tr>
            </thead>

            <tbody>
                <?php
                if(empty($label)) echo '<tr><td align="center" height="50" colspan="6">'.L('tpl_la_10').'</td></tr>';
                foreach ($label as $row) {
                    echo '
                    <tr id="row_'.$row->id.'">
                    <td><input class="xuan" name="id['.$row->id.']" type="checkbox" value="'.$row->id.'" /></td>
                    <td class="phide">'.$row->id.'</td>
                    <td>{cscmsself:'.$row->name.'}</td>
                    <td class="phide">'.$row->neir.'</td>
                    <td class="phide">'.date('Y-m-d H:i:s',$row->addtime).'</td>
                    <td><a class="layui-btn layui-btn-mini" href="javascript:cscms.get_open(\''.site_url('label/edit').'?id='.$row->id.'\',\''.L('tpl_la_11').'\',\'100%\',\'100%\')">'.L('tpl_la_12').'</a><a class="layui-btn layui-btn-danger layui-btn-mini" href="javascript:cscms.del_one(\''.site_url('label/del').'\','.$row->id.');">'.L('tpl_la_13').'</a></td>
                    </tr> ';
                }
                ?>
            </tbody>
        </table>
        <div class="more_func">
            <a class="layui-btn layui-btn-primary layui-btn-small" href="javascript:cscms.select_all();"><i class="fa fa-check colorl" ></i><?=L('tpl_la_14')?></a><a class="layui-btn layui-btn-primary layui-btn-small" lay-submit lay-filter="del_pl"><i class="fa fa-close " style="color: red" ></i><?=L('tpl_la_15')?></a><a class="layui-btn layui-btn-primary layui-btn-small" href="javascript:cscms.get_open('<?=site_url('label/add')?>','<?=L('tpl_la_16')?>','100%','100%');"><i class="fa fa-plus" style="color: #1E9FFF" ></i><?=L('tpl_la_16')?></a>
        </div>
	</form>
    <div id="page">
        <div class="data_nums phide"><?=$page_data?></div>
        <div class="data_page"><?=$page_list?></div>
    </div>
</div>
<script type="text/javascript">
    cscms.init();
</script>
</body>
</html>
